]> dgit.raspbian.org Git - gnome-shell.git/commit
Deal with unknown flags from ClutterEvent.get_state()
authorOwen W. Taylor <otaylor@fishsoup.net>
Wed, 7 Oct 2009 21:20:33 +0000 (17:20 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Wed, 7 Oct 2009 21:22:37 +0000 (17:22 -0400)
commitff39edd1ee48ebe96a6441707f518af5c4ba1db0
tree6d9487a17861816ed997909728db4b3c1cd89c51
parenta81a16801d1f422e279e68739e652269d20193ae
Deal with unknown flags from ClutterEvent.get_state()

When we get a ClutterModifierType from Clutter, it might contain
bits not in the enumeration. See bug 59771 for a similar problem
with GdkModifierType.

Add a wrapper Shell.get_event_state() around clutter_event_get_state()
to mask these bits out and only return approved bits.

https://bugzilla.gnome.org/show_bug.cgi?id=597735
js/ui/altTab.js
js/ui/appDisplay.js
js/ui/main.js
src/shell-global.c
src/shell-global.h